import BaseLayout from "../layout/BaseLayout.vue"
import Console from "../views/Dashboard/Console/index.vue"
import Monitor from "../views/Dashboard/Monitor/index.vue"
import Workplace from "../views/Dashboard/Workplace/index.vue"
import Admin from "../views/System/Admin/index.vue"
import Banner from "../views/System/Banner/index.vue"
export default [
    {
        path:"/dashboard",
        name:"dashboard",
       component:BaseLayout,
       meta:{
        label:"Dashboard",
       },
       children:[
        {
            path:'console',
            name:'dashboard_console',
            meta:{
                label:"控制台",
            },
            component:Console
        },
        {
            path:'monitor',
            name:'dashboard_monitor',
           meta:{
            label:"监控页",
           },
            component:Monitor
        },
        {
            path:'workplace',
            name:'dashboard_workplace',
            meta:{
                label:"工作台",
            },
            component:Workplace
        }
       ]
    },
    {
        path:"/system",
        name:"system" ,
       component:BaseLayout,
       meta:{
        label:"系统管理",
       },
       children:[
        {
            path:"admin",
            name:'system_admin',
            meta:{
                label:"管理员",
            },
            component:Admin
        },
        {
            path:"banner",
            name:'system_banner',
            meta:{
                label:"轮播图",
            },            
            component:Banner
        }
       ]
    },
]